package com.maiji.cloud.request.shopingmall;

import com.maiji.cloud.response.shopingmall.DownPriceDetailResDto.DownPriceDetailResData;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class AddExchangeLogReqDto {

	private String maijiToken;

	private AddExchangeLogReqData data;

	public AddExchangeLogReqData dataInstance() {
		return new AddExchangeLogReqData();
	}

	@NoArgsConstructor
	@Data
	@Accessors(chain = true)
	public class AddExchangeLogReqData {
		@ApiModelProperty(value = "优惠券id")
		private String discountCoupon; // 优惠券id/商品id

		@ApiModelProperty(value = "兑换类型 1：优惠券，2商品")
		private Integer type; // 1：优惠券，2商品
		
		@ApiModelProperty(value = "订单id")
		private String orderId; // 优惠券id/商品id
		
		@ApiModelProperty(value = "商品数量")
		private Integer num;


	}

}
